function UserSocket () {

}

UserSocket.prototype = {
  _socket: null,
  connectSocket () {
    this._socket = this._s = io()
    this.bindSocketEvents()
  },
  bindSocketEvents () {
    this._s.on('room_joined', (msg) => {
      this.log(`room_joined -> ${msg.roomName}`)
    })
  },
  joinRoom () {
    this._s.emit('join_room', {
      'roomName': "room_1"
    })
  }
}